var express = require('express');

var app = express();

var cors = require('cors');

const {default: Axios} = require('axios');

app.use(cors());

app.listen(5000, function () {
  console.log('app is running');
});

app.get('/hzh', (request, response) => {
  Axios.get('http://h5.yunplus.com.cn/cases/ceshi/getlist.php').then((res)=>{
    console.log(111, res.data);
    response.status(200).json(res.data.data);
  })
});




